home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / crc113.zip / CRC.DOC < prev    next >
Text File  |  1990-01-03  |  3KB  |  78 lines

  1.                         January 3, 1990
  2.  
  3.  
  4. CRC-M2 v1.13 - Rewritten in C and assembly, this version has been optimized
  5. for size and speed.  Displays both 16- and 32-bit CRC values of files
  6. selected from the command line.  16-bit CRC same as for ARC, LZH, LZS, PAK
  7. and ZOO files.  32-bit CRC same as for ZIP.  Wildcards and multiple
  8. filespecs supported.  Also includes the source and executable for a pure C
  9. version of this program.  Free program.
  10.  
  11. Contents:
  12. =========
  13. Purpose
  14. Commands
  15. Program background
  16. Closing remarks
  17.  
  18. Purpose:
  19. ========
  20. To display both 16- and 32-bit CRC values for selected files.  Useful for
  21. comparing contents of archives with external files.
  22.  
  23. Also useful for comparing files that are physically separated by distance
  24. or incompatible hardware.
  25.  
  26. [I used this technique years ago to check the integrity of data files being
  27. transferred from a CP/M machine to an MS-DOS one.  The CP/M machine had
  28. hard-sectored floppy drives, so the data was transferred via the respective
  29. serial ports - which also caused the high bits to be stripped.  I had to
  30. write a program to encode binary data at the CP/M end and another one to
  31. reconstruct the data at the MS-DOS end.  CRC programs producing identical
  32. values were used on both ends to compare files.]
  33.  
  34. This is a free program.  You may use it or give it away as you wish.
  35. Please include this DOC file if you do pass it along.
  36.  
  37. Commands: 
  38. =========
  39. Just specify the names of the files to check after the program name.
  40.  
  41.         Usage:  CRC filespec [filespec ...]
  42.  
  43. 'filespec' above may contain drive and/or path designations.
  44.         
  45.         Examples:       CRC *.exe *.com
  46.                         CRC \autoexec.bat
  47.                         CRC d:123*.* filename.ext *.e?e
  48.  
  49. Program background:
  50. ===================
  51. The original version of this program was actually written as a by-product
  52. of my search for an efficient and reliable CRC algorithm, implemented in a
  53. high-level language.  What prompted this search was my desire to write my
  54. own file concatenation program, and CRC values would provide some measure
  55. of assurance of the integrity of the files involved.
  56.  
  57. Although the initial versions of this program were written entirely in
  58. Modula-2 as an exercise, versions beginning with 1.12 have been rewritten
  59. in C.  Version 1.13 have parts rewritten in assembly for speed and further
  60. size reduction.
  61.  
  62. Closing remarks:
  63. ================
  64. You may send your comments and suggestions to me at the addresses below:
  65.  
  66.  
  67.                 By conventional mail:
  68.                 ---------------------
  69.                 Raymond T. Kaya
  70.                 P. O. Box 1436
  71.                 Honolulu, HI  96806
  72.  
  73.  
  74.                 By electronic mail:
  75.                 -------------------
  76.                 CompuServe:  71230,2500
  77.                 GEnie:       R.KAYA1
  78.